home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 7116 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  810 b 

  1. Path: howland.reston.ans.net!agate!usenet
  2. From: Paul MacMillan <artlgc11@sirius.com>
  3. Newsgroups: comp.lang.c++
  4. Subject: Visual C++ - MFC - View Window Title
  5. Date: Wed, 21 Feb 1996 12:57:29 -0800
  6. Organization: University of California, Berkeley
  7. Message-ID: <312B8739.167EB0E7@sirius.com>
  8. NNTP-Posting-Host: lhasa.berkeley.edu
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0b5 (X11; I; SunOS 4.1.3 sun4c)
  13. CC: mmillan@math.berkeley.edu
  14.  
  15. Does anybody know the best place to set the title of a view window? 
  16. I think you need to set the title of the GetParentFrame() result, and I
  17. did it in CView::OnInitialUpdate(), but the default
  18. title still appeared.  I don't want to do it in OnDraw(), but that
  19. seems to work.
  20.  
  21. Paul M
  22. mmillan@math.berkeley.edu
  23.